package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicExamType;

public interface IPublicExamTypeDao {
	public Boolean checkExist(String name) throws SQLException;
	
	CPublicExamType findById(String examTypeId);
	
	Integer delete(String examTypeId);
	
	CPublicExamType save(CPublicExamType entity) throws SQLException;
	
	void modify(CPublicExamType entity) throws SQLException;
	
	PageData<CPublicExamType> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;
	
	public PageData<CPublicExamType> getExamTypeList(LinkedHashMap<String, String> orderMap) throws SQLException;
}
